home *** CD-ROM | disk | FTP | other *** search
/ Ham Radio 2000 / Ham Radio 2000.iso / ham2000 / bbs / qthwp002 / appel.bat next >
DOS Batch File  |  1993-11-03  |  1KB  |  57 lines

  1. :fbbs
  2.     e:
  3.     sleep 3
  4.     cd \
  5.     cd \fbb
  6.     serv %1
  7.     if errorlevel 2 goto direct
  8.     if errorlevel 1 goto suite
  9.     goto fin
  10. :suite
  11.     cls
  12.     e:
  13.     cd \
  14.     cd \fbb\system
  15.     echo Sorting and unduping HROUTE.SYS...
  16.     copy hroute.sys temp.$$$
  17.     type temp.$$$ | sort | find /v "# " > hroute.sys
  18.     del temp.$$$
  19.     cd ..
  20.     echo Backup of important files...
  21.     copy \fbb\system\dirmes.sys \fbb\backup\dirmes.s1
  22.     copy \fbb\system\inf.sys \fbb\backup\inf.s1
  23.     echo Cleaning up message-files...
  24.     epurmess
  25.     epurwp 60
  26.     COPY E:\FBB\SYSTEM\WP\WP.SYS E:\FBB\SYSTEM\WP\NK3T_WP.DAT
  27.     QTH_WP.EXE E:\FBB\SYSTEM\WP
  28.     echo.
  29.     echo Cleaning up INF.SYS
  30.     cd \fbb\system
  31.     maintinf 6 /A
  32.     copy inf.new inf.sys
  33. :direct
  34.     cd \fbb\system
  35.     tlabel
  36.     cd \fbb\system\sat
  37.     if not exist amsat.txt goto appel
  38.     satupdat amsat.txt /n > satupdat.res
  39.     satupdat amsat.txt >> satupdat.res
  40.     del amsat.txt
  41. :appel
  42.     e:
  43.     cd \
  44.     cd \fbb
  45.     serv -t
  46.     if errorlevel 2 goto direct
  47.     if errorlevel 1 goto suite
  48. :fin
  49.     break on
  50.     e:
  51.     cd \
  52.     cd ham\bpq406
  53.     bpqnodes
  54.     cd \
  55.     rem cls
  56.     echo on
  57.